package demo4;

public class modifier {
    int x = 0;
    private String s;

    void display() {
        System.out.println("当前x值是： " + x);
        s = "hello";
    }

    public static void main(String[] args) {
        modifier m = new modifier();
        m.display();
        System.out.println(m.s);
    }
}

